package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.PickGoodsProduct;
import com.ecoolex.ying.space.entity.PickGoodsProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface PickGoodsProductMapper {
    long countByExample(PickGoodsProductExample example);

    int deleteByExample(PickGoodsProductExample example);

    int deleteByPrimaryKey(Integer pickProductId);

    int insert(PickGoodsProduct record);

    int insertSelective(@Param("record") PickGoodsProduct record, @Param("selective") PickGoodsProduct.Column ... selective);

    PickGoodsProduct selectOneByExample(PickGoodsProductExample example);

    PickGoodsProduct selectOneByExampleWithBLOBs(PickGoodsProductExample example);

    List<PickGoodsProduct> selectByExampleWithBLOBs(PickGoodsProductExample example);

    List<PickGoodsProduct> selectByExample(PickGoodsProductExample example);

    PickGoodsProduct selectByPrimaryKey(Integer pickProductId);

    PickGoodsProduct selectByPrimaryKeyWithLogicalDelete(@Param("pickProductId") Integer pickProductId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") PickGoodsProduct record, @Param("example") PickGoodsProductExample example, @Param("selective") PickGoodsProduct.Column ... selective);

    int updateByExampleWithBLOBs(@Param("record") PickGoodsProduct record, @Param("example") PickGoodsProductExample example);

    int updateByExample(@Param("record") PickGoodsProduct record, @Param("example") PickGoodsProductExample example);

    int updateByPrimaryKeySelective(@Param("record") PickGoodsProduct record, @Param("selective") PickGoodsProduct.Column ... selective);

    int updateByPrimaryKeyWithBLOBs(PickGoodsProduct record);

    int updateByPrimaryKey(PickGoodsProduct record);

    int batchInsert(@Param("list") List<PickGoodsProduct> list);

    int batchInsertSelective(@Param("list") List<PickGoodsProduct> list, @Param("selective") PickGoodsProduct.Column ... selective);

    int logicalDeleteByExample(@Param("example") PickGoodsProductExample example);

    int logicalDeleteByPrimaryKey(Integer pickProductId);
}